import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import '../theme/index.css'
import BaiduMap from 'vue-baidu-map';
import less from 'less';
import router from './router'
import store from './store';
import * as echarts from 'echarts'
//时间插件
import moment from 'moment'
import 'cesium/Widgets/widgets.css';
Vue.prototype.$moment = moment
// 全局组件
import MyPagenation from './components/MyPagenation.vue'
// icon的css样式
import '@icon-park/vue/styles/index.css'
// 注册全局组件
Vue.component('MyPagenation',MyPagenation)
Vue.use(less)
Vue.use(BaiduMap, {
  ak: 'WF0k4hZPfjxzWU4kTAIe35sIBAURWCWk'
})
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.prototype.$echarts = echarts
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
